package com.agricultural.robot.model;

/**
 * 喷药任务
 */
public class SprayingTask extends Task {
    private String chemicalType;

    public SprayingTask(String fieldArea, String chemicalType) {
        super(fieldArea);
        this.chemicalType = chemicalType;
    }

    public String getChemicalType() {
        return chemicalType;
    }

    public void setChemicalType(String chemicalType) {
        this.chemicalType = chemicalType;
    }

    @Override
    public String getTaskDescription() {
        return "在" + getFieldArea() + "区域喷洒" + chemicalType;
    }
}
